package com.mq.service;

import com.mq.pojo.Tickets;
import com.mq.pojo.User;

import java.util.List;
import java.util.Map;

public interface OrderService {

    String LockOrder(User user, Integer flightId);

    String CancelLockOrder(User user, Integer OrderId);

    Tickets PayOrder(User user, Integer OrderId,PaymentService payment);

    List<Map<String, Object>> getOrderList (User user);

}
